import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

/**
 *
 * @author Craig Blumenfeld
 * @author Jason Ma
 * @version 1.0 February 6, 2013
 */
public class BlocksGame extends StateBasedGame {
 
    public static final int MAINMENUSTATE = 0;
    public static final int GAMEPLAYSTATE = 1;
 
    public BlocksGame()
    {
        super("SlickBlocks");
    }//Ends constructor
 
    public static void main(String[] args) throws SlickException
    {
         AppGameContainer app = new AppGameContainer(new BlocksGame());
         app.setDisplayMode(800, 600, false);
         app.start();
    }//Ends main
    
    @Override
    public void initStatesList(GameContainer gameContainer) throws SlickException {
        this.addState(new MainMenuState(MAINMENUSTATE));
        this.addState(new GameplayState(GAMEPLAYSTATE));
    }//Ends initStatesList
    
}//Ends BlocksGame